package com.fire.social.service;

import com.fire.social.entity.node.Content;
import com.fire.social.entity.node.User;

import java.util.Map;

public interface ContentService {

    /**
     * 创建内容
     */
    Content createContent(String account, String publisher, String publisherImg, String title,String content,
                          String relatedHobby,Long hobbyid, String imgUrl);

    /**
     * 查看朋友动态
     */
    void findFriendContent(User user, Map<String, Object> map);

    /**
     * 查看兴趣爱好相关的动态
     */
    void findContentByHobby(User user, Map<String, Object> map);

}
